﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model.ViewModels
{
    public class V_MemberCoupon: MemberCoupon
    {
        /// <summary>
        /// 优惠券名称
        /// </summary>
        public string CouponName { get; set; }
        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 消费金额,0为无限制
        /// </summary>
        public decimal Consumption { get; set; }
        /// <summary>
        /// 可用分类，0为全品类
        /// </summary>
        public int Category { get; set; }
        /// <summary>
        /// 是否可以与积分同时使用
        /// </summary>
        public bool IsUsePoint { get; set; }

        /// <summary>
        /// 活动商品是否可用
        /// </summary>
        public bool IsUseActivity { get; set; }

        /// <summary>
        /// 限制分类名称
        /// </summary>
        public string CategoryName { get; set; }

        public string MemberName { get; set; }

        public string SourceTypeDes { get { return SourceType.ToString(); } }
    }
}
